package com.unhz.generator.dao;

import com.unhz.generator.pojo.LoginInfo;
import com.unhz.generator.vo.LoginInfoVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;
@Repository
public interface LoginInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LoginInfo record);

    int insertSelective(LoginInfo record);

    LoginInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LoginInfo record);

    int updateByPrimaryKey(LoginInfo record);

    int getTotalRecordsByKeywords(@Param("keywords") String keywords);

    List<LoginInfoVo> findLoginInfoMap(Map<String, Object> map);
}